package com.hf.lookatme.zmodel.impls;

import android.content.Context;

import com.hf.lookatme.zbean.AdvertisementData;
import com.hf.lookatme.zmodel.IModel_AdvertisementsData;
import com.hf.lookatme.zmodel.loadlistener.OnLoadAdvertisementDataListener;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by JoeShiguang on 2015/5/19.
 */
public class Model_AdvertisementsData implements IModel_AdvertisementsData {

  @Override
  public void getAdvertisementsData(Context context, OnLoadAdvertisementDataListener loadAdvertisementDataListener) {

    List<AdvertisementData> list_advertisementData = new ArrayList<AdvertisementData>();

    AdvertisementData advertisementData = new AdvertisementData();
    advertisementData.setImgUrl("assets://img_01.png");
    AdvertisementData advertisementData2 = new AdvertisementData();
    advertisementData2.setImgUrl("assets://img_03.png");

    list_advertisementData.add(advertisementData);
    list_advertisementData.add(advertisementData2);

    loadAdvertisementDataListener.onLoadAdvertisementDataSuccess(list_advertisementData);
  }


}
